package com.siriframe.designPattern.factoryPattern.handler.subject;


import com.siriframe.designPattern.factoryPattern.entity.SubjectInfo;
import com.siriframe.designPattern.factoryPattern.enums.subject.SubjectInfoTypeEnum;

public interface SubjectTypeHandler {

    /**
     * 枚举身份的识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际题目的插入
     * @param subjectInfoBO
     */
    void add(SubjectInfo subjectInfoBO);
}
